cd build\classes
set path=.;C:\"Program Files"\Java\jdk1.6.0_31\bin
rmiregistry
pause